package com.rlz.framemm.mode.strategy2

/**
 * Created by RLZ
 * on 2021/10/26
 * 策略类
 */
class StudentDiscount : Discount {
    override fun calculate(price: Double): Double {
        println("学生票价: ")
        return price - 10
    }
}